package com.xiyu.service.convert.market;

import com.xiyu.service.vo.market.marketTask.MarketTaskSingleGetOutput;
import com.xiyu.service.vo.market.marketTask.MarketTaskUpdateInput;
import com.xiyu.service.vo.market.marketTask.MarketTaskCreateInput;
import com.xiyu.service.vo.market.marketTask.MarketTaskPageQueryOutput;
import com.xiyu.service.model.market.task.MarketTask;
import java.util.*;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 邮件营销 Convert
 */
@Mapper
public interface MarketTaskConvert {
    MarketTaskConvert INSTANCE = Mappers.getMapper(MarketTaskConvert.class);


    List<MarketTaskPageQueryOutput> pageQueryOutputConvert(List<MarketTask> output);

    MarketTask createInputConvert(MarketTaskCreateInput input);

    MarketTask updateInputConvert(MarketTaskUpdateInput input);

    MarketTaskSingleGetOutput singleGetOutputConvert(MarketTask output);

}
